﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AddUser.aspx.cs" Inherits="WXYW.AddUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    新增客户资料
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <table cellpadding="0px" cellspacing="0px" style="width: 100%">
        <tr>
            <td style="width: 20%;">
            </td>
            <td style="width:60%">
                <table style="width: 100%">
                    <tr style="height:25px; width:100%">
                        <td style="width:20%">
                            客户角色:
                        </td>
                        <td style="width:40%">
                            <asp:DropDownList ID="roleTypeDropdownList" runat="server" AutoPostBack="false" Width="80%">
                            </asp:DropDownList>
                        </td>
                        <td style="width:5%; color:Red">
                        </td>
                        <td style="width:35%">
                        </td>
                    </tr>
                    <tr style="height:25px; width:100%">
                        <td style="width:20%">
                            所属平台:
                        </td>
                        <td style="width:40%">
                            <asp:DropDownList ID="StationDDL" runat="server" AutoPostBack="false" Width="80%">
                            </asp:DropDownList>
                        </td>
                        <td style="width:5%; color:Red">
                        </td>
                        <td style="width:35%">
                        </td>
                    </tr>
                    <tr>
                        <td style="width:20%">
                            OEM产品类型:
                        </td>
                        <td style="width:40%">
                            <asp:DropDownList ID="OEMProductClassDDL" runat="server" AutoPostBack="false" Width="80%">
                            </asp:DropDownList>
                        </td>
                        <td style="width:5%; color:Red">
                        </td>
                        <td style="width:35%">
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            用户 ID:
                        </td>
                        <td>
                            <asp:TextBox ID="customerIDTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="IDRequiredValidator" runat="server" ErrorMessage=""
                                Text="请输入用户ID;" ControlToValidate="customerIDTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            用户密码:
                        </td>
                        <td>
                            <asp:TextBox ID="passwordTxtBox" runat="server" Width="80%" TextMode="Password"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="PasswordRequiredFieldValidator" runat="server" ErrorMessage=""
                                Text="请输入用户密码;" ControlToValidate="passwordTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            公司全称:
                        </td>
                        <td>
                            <asp:TextBox ID="customerNameTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="NameRequiredFieldValidator" runat="server" ErrorMessage=""
                                Text="请输入用户名称;" ControlToValidate="customerNameTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            公司简称:
                        </td>
                        <td>
                            <asp:TextBox ID="companyNameTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            联系人:
                        </td>
                        <td>
                            <asp:TextBox ID="contactTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="ContactRequiredFieldValidator" runat="server" ErrorMessage=""
                                Text="请输入联系人姓名;" ControlToValidate="contactTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            联系电话:
                        </td>
                        <td>
                            <asp:TextBox ID="phoneTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="PhoneRequiredFieldValidator" runat="server" ErrorMessage=""
                                Text="请输入联系电话;" ControlToValidate="phoneTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            联系手机:
                        </td>
                        <td>
                            <asp:TextBox ID="mobilePhoneTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="MobilePhoneRequiredFieldValidator" runat="server"
                                ErrorMessage="" Text="请输入联系手机;" ControlToValidate="mobilePhoneTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            联系传真:
                        </td>
                        <td>
                            <asp:TextBox ID="faxTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            电子邮件:
                        </td>
                        <td>
                            <asp:TextBox ID="emailTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="EmailRequiredFieldValidator" runat="server" ErrorMessage=""
                                Text="请输入邮件地址;" ControlToValidate="emailTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            通讯地址:
                        </td>
                        <td>
                            <asp:TextBox ID="addressTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                            *
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="AddressRequiredFieldValidator" runat="server" ErrorMessage=""
                                Text="请输入通讯地址;" ControlToValidate="addressTxtBox" ValidationGroup="NewUserValidation"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            备注:
                        </td>
                        <td>
                            <asp:TextBox ID="commentTxtBox" runat="server" Width="80%"></asp:TextBox>
                        </td>
                        <td style="width:5%; color:Red">
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr style="text-align: center; height:25px">
                        <td colspan="4">
                            <asp:Button ID="SaveButton" runat="server" Text="创建用户" OnClick="SaveButton_Click"
                                ValidationGroup="NewUserValidation" />
                        </td>
                    </tr>
                    <tr style="height:25px">
                        <td colspan="4">
                            <asp:Label ID="MsgLbl" runat="server" ForeColor="Red"></asp:Label>
                            <%--<asp:ValidationSummary ID="ValidationSummary" runat="server" EnableClientScript="true"
                                DisplayMode="BulletList" ValidationGroup="NewUserValidation" />--%>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 20%;">
            </td>
        </tr>
    </table>
</asp:Content>
